<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>单曲详情 - 声破天</title>
    <link rel="stylesheet" href="assets/css/main.css">
    <link rel="stylesheet" href="assets/css/track.css">
    <link rel="stylesheet" href="assets/css/player-bar.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <link rel="stylesheet" href="liked-songs.css">
</head>

<body>
    <div class="main-container">
        <!-- 侧边导航栏 -->
        <aside class="sidebar">
            <div class="logo">
                <svg viewBox="0 0 200 50" xmlns="http://www.w3.org/2000/svg">
                    <circle cx="25" cy="25" r="20" fill="#1DB954" />
                    <path d="M18 27.5C18 27.5 22 23.5 25 23.5C28 23.5 32 27.5 32 27.5" stroke="black" stroke-width="2"
                        fill="none" />
                    <path d="M16 21.5C16 21.5 22 15.5 25 15.5C28 15.5 34 21.5 34 21.5" stroke="black" stroke-width="2"
                        fill="none" />
                    <path d="M14 15.5C14 15.5 21 7.5 25 7.5C29 7.5 36 15.5 36 15.5" stroke="black" stroke-width="2"
                        fill="none" />
                    <text x="50" y="32" font-family="Arial, sans-serif" font-size="24" font-weight="bold"
                        fill="white">声破天</text>
                </svg>
            </div>
            <nav class="main-nav">
                <ul>
                    <li class="nav-item">
                        <a href="index.html"><i class="fas fa-home"></i> <span data-i18n="nav_home">首页</span></a>
                    </li>
                    <li class="nav-item">
                        <a href="search.html"><i class="fas fa-search"></i> <span data-i18n="nav_search">搜索</span></a>
                    </li>
                    <li class="nav-item">
                        <a href="explore.html"><i class="fas fa-compass"></i> <span
                                data-i18n="nav_explore">探索</span></a>
                    </li>
                    <li class="nav-item">
                        <a href="library.html"><i class="fas fa-book"></i> <span data-i18n="nav_library">音乐库</span></a>
                    </li>
                </ul>
            </nav>

            <div class="library-nav">
                <div class="library-header">
                    <h2><i class="fas fa-plus-square"></i> <span data-i18n="create_playlist">创建播放列表</span></h2>
                </div>
                <div class="library-items">
                    <div class="library-item">
                        <div class="liked-songs">
                            <div class="liked-gradient">
                                <i class="fas fa-heart"></i>
                            </div>
                            <h3 data-i18n="liked_songs">我喜欢的歌曲</h3>
                            <p><span data-i18n="playlist">播放列表</span> • 32 <span data-i18n="songs">首歌曲</span></p>
                        </div>
                    </div>
                    <div class="playlists">
                        <div class="playlist-item">
                            <a href="#" id="following-link" style="text-decoration: none; color: inherit;">
                                <h3 data-i18n="playlist_1">我的关注</h3>
                                <p data-i18n="playlist_by_user">播放列表 • 用户</p>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </aside>

        <!-- 主内容区 -->
        <main class="content">
            <header class="top-bar">
                <div class="navigation-buttons">
                    <button class="nav-btn"><i class="fas fa-chevron-left"></i></button>
                    <button class="nav-btn"><i class="fas fa-chevron-right"></i></button>
                </div>
                <div class="user-menu">
                    <div class="language-selector">
                        <div class="language-options">
                            <button class="language-btn" data-lang="zh-CN">简体中文</button>
                            <button class="language-btn" data-lang="en">English</button>
                            <button class="language-btn" data-lang="zh-TW">繁體中文</button>
                        </div>
                    </div>
                    <div class="auth-buttons">
                        <a href="login.html" class="login-btn"><i class="fas fa-sign-in-alt"></i> <span
                                data-i18n="login">登录</span></a>
                        <a href="register.html" class="register-btn"><i class="fas fa-user-plus"></i> <span
                                data-i18n="register">注册</span></a>
                    </div>
                </div>
            </header>

            <!-- 单曲详情内容 -->
            <div class="content-container track-container">
                <!-- 单曲头部信息 -->
                <section class="track-header">
                    <div class="track-cover">
                        <img src="assets/images/covers/cover2.jpg" alt="单曲封面" id="track-cover-img">
                        <div class="track-gradient-overlay"></div>
                    </div>
                    <div class="track-info">
                        <div class="track-type">单曲</div>
                        <h1 class="track-title" id="track-title">晴天</h1>
                        <div class="track-meta">
                            <div class="track-artist">
                                <img src="assets/images/artists/artist1.jpg" alt="艺术家照片" class="artist-thumbnail">
                                <a href="artist.html?name=周杰伦" class="artist-name">周杰伦</a> •
                                <a href="album.html?name=叶惠美" class="album-name">叶惠美</a> •
                                <span class="track-year">2003</span> •
                                <span class="track-duration">4:29</span>
                            </div>
                        </div>
                    </div>
                </section>

                <!-- 单曲操作按钮 -->
                <section class="track-actions">
                    <button class="play-button large-play-btn">
                        <i class="fas fa-play"></i> 播放
                    </button>
                    <button class="icon-button like-button">
                        <i class="far fa-heart"></i>
                    </button>
                    <button class="icon-button add-to-playlist-button">
                        <i class="fas fa-plus"></i>
                    </button>
                    <button class="icon-button options-button">
                        <i class="fas fa-ellipsis-h"></i>
                    </button>
                </section>

                <!-- 歌词和单曲信息 -->
                <div class="track-details-container">
                    <div class="track-content-column">
                        <!-- 歌词显示 -->
                        <section class="lyrics-section">
                            <h2>歌词</h2>
                            <div class="lyrics-container">
                                <div class="lyrics">
                                    <p class="lyric-line">故事的小黄花</p>
                                    <p class="lyric-line">从出生那年就飘着</p>
                                    <p class="lyric-line">童年的荡秋千</p>
                                    <p class="lyric-line">随记忆一直晃到现在</p>
                                    <p class="lyric-line active">已经失去的昨天</p>
                                    <p class="lyric-line">还能不能再回来</p>
                                    <p class="lyric-line">我好想拥抱你</p>
                                    <p class="lyric-line">拥抱着你的回忆</p>
                                    <p class="lyric-line">一起走到</p>
                                    <p class="lyric-line">一起走到</p>
                                    <p class="lyric-line">不为琴弦所动</p>
                                    <p class="lyric-line">为你所动</p>
                                    <p class="lyric-line">不问曲终人散</p>
                                    <p class="lyric-line">为你片刻停留</p>
                                    <p class="lyric-line">无论时间如何走远</p>
                                    <p class="lyric-line">我都会带着笑脸</p>
                                    <p class="lyric-line">往后的日子弹着吉他</p>
                                    <p class="lyric-line">为你唱着</p>
                                </div>
                            </div>
                        </section>

                        <!-- 艺术家其他热门歌曲 -->
                        <section class="related-tracks-section">
                            <h2>艺术家热门歌曲</h2>
                            <div class="track-list">
                                <div class="track-item" data-track-id="1">
                                    <div class="track-number">1</div>
                                    <div class="track-play-icon"><i class="fas fa-play"></i></div>
                                    <div class="track-info">
                                        <div class="track-name">以父之名</div>
                                        <div class="track-artist">周杰伦</div>
                                    </div>
                                    <div class="track-album">叶惠美</div>
                                    <div class="track-duration">5:42</div>
                                    <div class="track-actions">
                                        <button class="icon-button track-like-btn"><i class="far fa-heart"></i></button>
                                        <button class="icon-button track-more-btn"><i
                                                class="fas fa-ellipsis-h"></i></button>
                                    </div>
                                </div>
                                <div class="track-item" data-track-id="2">
                                    <div class="track-number">2</div>
                                    <div class="track-play-icon"><i class="fas fa-play"></i></div>
                                    <div class="track-info">
                                        <div class="track-name">七里香</div>
                                        <div class="track-artist">周杰伦</div>
                                    </div>
                                    <div class="track-album">七里香</div>
                                    <div class="track-duration">4:59</div>
                                    <div class="track-actions">
                                        <button class="icon-button track-like-btn"><i class="far fa-heart"></i></button>
                                        <button class="icon-button track-more-btn"><i
                                                class="fas fa-ellipsis-h"></i></button>
                                    </div>
                                </div>
                                <div class="track-item" data-track-id="3">
                                    <div class="track-number">3</div>
                                    <div class="track-play-icon"><i class="fas fa-play"></i></div>
                                    <div class="track-info">
                                        <div class="track-name">青花瓷</div>
                                        <div class="track-artist">周杰伦</div>
                                    </div>
                                    <div class="track-album">我很忙</div>
                                    <div class="track-duration">3:59</div>
                                    <div class="track-actions">
                                        <button class="icon-button track-like-btn"><i class="far fa-heart"></i></button>
                                        <button class="icon-button track-more-btn"><i
                                                class="fas fa-ellipsis-h"></i></button>
                                    </div>
                                </div>
                                <div class="track-item" data-track-id="4">
                                    <div class="track-number">4</div>
                                    <div class="track-play-icon"><i class="fas fa-play"></i></div>
                                    <div class="track-info">
                                        <div class="track-name">稻香</div>
                                        <div class="track-artist">周杰伦</div>
                                    </div>
                                    <div class="track-album">魔杰座</div>
                                    <div class="track-duration">3:42</div>
                                    <div class="track-actions">
                                        <button class="icon-button track-like-btn"><i class="far fa-heart"></i></button>
                                        <button class="icon-button track-more-btn"><i
                                                class="fas fa-ellipsis-h"></i></button>
                                    </div>
                                </div>
                                <div class="track-item" data-track-id="5">
                                    <div class="track-number">5</div>
                                    <div class="track-play-icon"><i class="fas fa-play"></i></div>
                                    <div class="track-info">
                                        <div class="track-name">告白气球</div>
                                        <div class="track-artist">周杰伦</div>
                                    </div>
                                    <div class="track-album">周杰伦的床边故事</div>
                                    <div class="track-duration">3:35</div>
                                    <div class="track-actions">
                                        <button class="icon-button track-like-btn"><i class="far fa-heart"></i></button>
                                        <button class="icon-button track-more-btn"><i
                                                class="fas fa-ellipsis-h"></i></button>
                                    </div>
                                </div>
                            </div>
                        </section>
                    </div>

                    <div class="track-sidebar">
                        <!-- 专辑信息 -->
                        <section class="album-info-section">
                            <h2>专辑信息</h2>
                            <div class="album-card">
                                <div class="album-thumbnail">
                                    <img src="assets/images/covers/cover2.jpg" alt="专辑封面">
                                    <button class="play-button"><i class="fas fa-play"></i></button>
                                </div>
                                <div class="album-details">
                                    <h3>叶惠美</h3>
                                    <p>周杰伦 • 专辑 • 2003</p>
                                    <a href="album.html?name=叶惠美" class="view-album-btn">查看专辑</a>
                                </div>
                            </div>
                        </section>

                        <!-- 艺术家信息 -->
                        <section class="artist-info-section">
                            <h2>艺术家</h2>
                            <div class="artist-card">
                                <div class="artist-thumbnail">
                                    <img src="assets/images/artists/artist1.jpg" alt="艺术家照片">
                                </div>
                                <div class="artist-details">
                                    <h3>周杰伦</h3>
                                    <p>艺术家 • 102万粉丝</p>
                                    <a href="artist.html?name=周杰伦" class="view-artist-btn">查看艺术家</a>
                                </div>
                            </div>
                        </section>

                        <!-- 版权信息 -->
                        <section class="copyright-section">
                            <h2>版权信息</h2>
                            <div class="copyright-info">
                                <p><strong>词：</strong>方文山</p>
                                <p><strong>曲：</strong>周杰伦</p>
                                <p><strong>制作人：</strong>周杰伦</p>
                                <p><strong>发行时间：</strong>2003年7月31日</p>
                                <p><strong>©</strong>2003 杰威尔音乐有限公司</p>
                            </div>
                        </section>
                    </div>
                </div>
            </div>

            <!-- 相似歌曲推荐 -->
            <section class="similar-tracks-section">
                <h2>你可能也喜欢</h2>
                <div class="card-grid">
                    <div class="card">
                        <div class="card-img">
                            <img src="assets/images/covers/cover3.jpg" alt="单曲封面">
                            <button class="play-button"><i class="fas fa-play"></i></button>
                        </div>
                        <h3>夜曲</h3>
                        <p>周杰伦</p>
                    </div>
                    <div class="card">
                        <div class="card-img">
                            <img src="assets/images/covers/cover4.jpg" alt="单曲封面">
                            <button class="play-button"><i class="fas fa-play"></i></button>
                        </div>
                        <h3>爱在西元前</h3>
                        <p>周杰伦</p>
                    </div>
                    <div class="card">
                        <div class="card-img">
                            <img src="assets/images/covers/cover5.jpg" alt="单曲封面">
                            <button class="play-button"><i class="fas fa-play"></i></button>
                        </div>
                        <h3>菊花台</h3>
                        <p>周杰伦</p>
                    </div>
                    <div class="card">
                        <div class="card-img">
                            <img src="assets/images/covers/cover6.jpg" alt="单曲封面">
                            <button class="play-button"><i class="fas fa-play"></i></button>
                        </div>
                        <h3>简单爱</h3>
                        <p>周杰伦</p>
                    </div>
                    <div class="card">
                        <div class="card-img">
                            <img src="assets/images/covers/cover7.jpg" alt="单曲封面">
                            <button class="play-button"><i class="fas fa-play"></i></button>
                        </div>
                        <h3>花海</h3>
                        <p>周杰伦</p>
                    </div>
                </div>
            </section>
        </main>
    </div>

    <!-- 播放器条 -->
    <footer class="player-bar">
        <div class="now-playing">
            <div class="track-info">
                <div class="track-image">
                    <img src="assets/images/covers/cover2.jpg" alt="当前播放歌曲">
                </div>
                <div class="track-details">
                    <h4 class="track-name">当前</h4>
                    <p class="artist-name">晴天 - 周杰伦</p>
                </div>
            </div>
            <div class="track-actions">
                <button class="action-btn"><i class="far fa-heart"></i></button>
                <button class="action-btn"><i class="fas fa-external-link-alt"></i></button>
            </div>
        </div>

        <div class="player-controls">
            <div class="control-buttons">
                <button class="control-btn"><i class="fas fa-random"></i></button>
                <button class="control-btn"><i class="fas fa-step-backward"></i></button>
                <button class="control-btn play-btn"><i class="fas fa-play"></i></button>
                <button class="control-btn"><i class="fas fa-step-forward"></i></button>
                <button class="control-btn"><i class="fas fa-redo"></i></button>
            </div>
            <div class="playback-bar">
                <span class="current-time">0:00</span>
                <div class="progress-bar">
                    <div class="progress"></div>
                    <div class="progress-handle"></div>
                </div>
                <span class="total-time">4:29</span>
            </div>
        </div>

        <div class="player-options">
            <button class="option-btn"><i class="fas fa-list"></i></button>
            <button class="option-btn"><i class "fas fa-desktop"></i></button>
            <div class="volume-control">
                <button class="option-btn"><i class="fas fa-volume-up"></i></button>
                <div class="volume-bar">
                    <div class="volume-level"></div>
                    <div class="volume-handle"></div>
                </div>
            </div>
        </div>
    </footer>

    <script src="assets/js/app.js"></script>
    <script src="assets/js/player.js"></script>
    <script src="assets/js/navigation.js"></script>
    <script src="assets/js/sidebar-utils.js"></script>
</body>

</html>